package com.wxy.gks.springbootprojectday22practice.dao;

import com.wxy.gks.springbootprojectday22practice.bean.Dept;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface DeptMapper {
    @Select("select * from dept")
    public List<Dept> findAll();
}
